package com.aaa.phone.service.expensecalendarservice.impl;

import com.aaa.entity.BackExpenseorder;
import com.aaa.phone.dao.expensecalendardao.IExpenseCalendarDao;
import com.aaa.phone.service.expensecalendarservice.ExpenseCalendarService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * @Description: 用户消费信息service实现类
 * @Author: 陈阳
 * @CreateDate: 2018/12/21$ 15:05$
 */
@Service
public class ExpenseCalendarServiceImpl implements ExpenseCalendarService {

    @Autowired
    private IExpenseCalendarDao dao;
    /**
     * 获取用户消费记录
     * @param telephone
     * @return
     */
    @Override
    public List<BackExpenseorder> getExpenseCalendar(String telephone) {
        return dao.getExpenseCalendar(telephone);
    }
}
